package com.qst.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.qst.pojo.User;

@RestController
public class TestController {
	
	 @RequestMapping("/login")
	 @CrossOrigin(origins = {"http://127.0.0.1:8848"})
	public User findTest(@RequestBody User user) {
		System.out.println("@@@@@@@@@@&&&&&&&&&&&********"+user);
		return user;
	}

}
